// 所有的state的派生属性
const getters = {
  sidebar: (state) => state.app.sidebar,
  account: (state) => state.user.account,
  username: (state) => state.user.username,
  type: (state) => state.user.type,
  token: (state) => state.user.token,
  locale: (state) => state.lang.locale,
};

export default getters;
